home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 146
/
(Vol 146) Jan 07 2012.iso
/
Games
/
screamin_upstreamin.swf
/
scripts
/
DefineSprite_184
/
frame_1
/
PlaceObject3_62_34
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2012-01-07
|
363b
|
14 lines
onClipEvent(enterFrame){
_root.cashDisplay = _root.level * 10;
if(_Y >= occurrence)
{
var occurrence = Math.round(Math.random() * frequency) + 300;
var xPos = -110 + Math.round(Math.random() * xPosVara);
_Y = startPos;
_X = xPos;
_visible = true;
hitObject = "on";
}
_Y = _Y + _root.busSpeed / 2;
}